package com.jh.readme.iu.fragment.picturelist;

import com.jh.tools.bean.SinaPhotoList;

import rx.Observer;

/**
 * Created by niejiahuan on 2016/5/31.
 *
 */
public class PictureListPresenter extends PictureListContract.Presenter {
    @Override
    public void onStart() {

    }


    @Override
    void getImgList(String photoTypeId, int page) {
        mModel.getDateImgList(photoTypeId,page).subscribe(new Observer<SinaPhotoList>() {
            @Override
            public void onCompleted() {

            }

            @Override
            public void onError(Throwable e) {

            }

            @Override
            public void onNext(SinaPhotoList sinaPhotoList) {

            }
        });
    }
}
